package com.java83.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 离职表(Leaving)实体类
 *
 * @author xxx
 * @since 2021-12-14 11:49:11
 */
public class Leaving implements Serializable {
    private static final long serialVersionUID = 100718792812897418L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 员工主键id
     */
    private Integer eid;
    /**
     * 离职原因主键id
     */
    private Integer lid;
    /**
     * 离职日期
     */
    private Date createtime;
    /**
     * 创建人
     */
    private String createBy;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    public String toString() {
        return "Leaving{" +
                "id=" + id +
                ", eid=" + eid +
                ", lid=" + lid +
                ", createtime=" + createtime +
                ", createBy='" + createBy + '\'' +
                '}';
    }
}
